import longTouch from './longTouch'

const install = function(Vue) {
  Vue.directive('longTouch', longTouch)
}

if (window.Vue) {
  window['longTouch'] = longTouch
  Vue.use(install); // eslint-disable-line
}

export default install
